package com.kinoshita.manager;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@MapperScan("com.kinoshita.manager.mapper")
@EnableFeignClients(basePackages = {
        "com.kinoshita.manager.api.client",
        "com.kinoshita.admin.api.client"})
@ComponentScan(
        basePackages = {
                "com.kinoshita.common",
                "com.kinoshita.manager"
        }
)
@SpringBootApplication
public class ManagerApplication {


    public static void main(String[] args) {
        SpringApplication.run(ManagerApplication.class, args);
    }
}
